<?php $this->pageTitle='Đăng ký/Nạp tiền - MobiLink'; 
?>
<div class="title_mod">
	<a href="#" title="Nạp tiền-MobileLink"><span class="mleft"><span class="mright">Đăng ký gói dịch vụ</span></span></a>
</div>
<div class="form">
	<h3>Bạn có <?php echo ($user->amount/1000).' Xu';?></h3>
	<div class="row">
	<?php
	    foreach(Yii::app()->user->getFlashes() as $key => $message) {
	        echo '<div class="flash-' . $key . '">' . $message . "</div>\n";
	    }
	?>
	</div>
	<div class="row buttons">		
		<?php
			foreach ($packages as $pack){
				echo CHtml::link($pack->name,array('/package/book','id'=>$pack->id),array('title'=>$pack->name,'class'=>'button-get'));
				echo '<p>'.$pack->desc.'</p>';
			} 
		?>
	</div>
</div>